﻿@using Nxg.Blog.Core.Extensions
@{
    Layout = "_Layout";
}
@model Nxg.Blog.Core.ViewProjections.Home.TaggedBlogPostsViewModel

<div class="main">
    <div class="post-wrap archive">
        <ol>
            @foreach (var blogPost in Model.Posts)
            {
                <li>
                    <article class="post">
                        <div class="post-head">
                            <a href="@blogPost.GetLink()">@blogPost.Title</a>
                        </div>
                    </article>
                </li>
            }
        </ol>
    </div>
</div>